|
ObjectiveLib
1.0.0
|
A client socket that communicates via the Internet. More...
#import <ObjectiveLib/Socket.h>

Static Public Member Functions | |
| (void) | + initialize |
| Initialize the class when it is loaded into the runtime system. | |
| (id) | + socket |
| Create and return a new socket. | |
| (id) | + socketWithRemoteInternetAddress: |
| Create and return a new socket. | |
| (id) | + socketWithRemoteInternetAddress:localAddress: |
| Create and return a new socket. | |
A client socket that communicates via the Internet.
This is a specialized client that operates within the Internet address family. It is capable of connecting to any Internet address family socket, including OLInternetServerSocket.
| + (void) initialize |
Initialize the class when it is loaded into the runtime system.
Please don't call this method.
| + (id) socket |
Create and return a new socket.
The socket is unconnected.
| OLSocketException | if the socket cannot be created |
| + (id) socketWithRemoteInternetAddress: | (OLInternetAddress *) | remote |
Create and return a new socket.
The socket is immediately connected to the address remote.
| OLSocketException | if the socket cannot be created and connected |
| remote | the remote address to which to connect |
| + (id) socketWithRemoteInternetAddress: | (OLInternetAddress *) | remote | |
| localAddress: | (OLInternetAddress *) | local | |
Create and return a new socket.
The socket is immediately bound to the address local and connected to the address remote.
| OLSocketException | if the socket cannot be created and connected |
| remote | the remote address to which to connect |
| local | the local address to which to bind |
|